JDC Document Template
A versatile template for reports and documents
Introduction
This is a basic JDC-branded template that can be used for various document types including HTML reports, PDFs, and Word documents.
The template uses the Joint Data Center (JDC) branding defined in _brand.yml and includes the JDC logo.
Key Features
- Multi-format support: Renders to HTML, PDF, and Word
- JDC Branding: Uses official JDC colors and logo
- Table of Contents: Automatically generated
- Code Integration: Supports executable code blocks
- Responsive Design: HTML output adapts to different screen sizes
Getting Started
To use this template:
- Copy this file and rename it for your project
- Update the YAML header with your specific information
- Replace this content with your document content
- Render using:
quarto render template.qmd
Document Structure
Sections and Headings
Use standard Markdown heading syntax:
# Level 1 Heading
## Level 2 Heading
### Level 3 HeadingLists
Bullet Lists: - First item - Second item - Nested item - Another nested item
Numbered Lists: 1. First step 2. Second step 3. Third step
Tables
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Data 1 | Data 2 | Data 3 |
| Data 4 | Data 5 | Data 6 |
Code Integration
You can include code blocks for documentation:
# Example R code
library(ggplot2)
# Create sample plot
ggplot(mtcars, aes(x = mpg, y = hp)) +
geom_point() +
theme_minimal() +
labs(title = "Sample Plot")Images and Figures
You can include images using standard Markdown syntax:
For more control over image sizing and positioning, use Quarto’s figure syntax:
{width=50% fig-align="center"}Callout Blocks
Quarto supports various callout types:
This is a note callout block.
This is a tip callout block.
This is a warning callout block.
This is an important callout block.
Cross-References
You can create cross-references to sections, figures, and tables:
- Reference to ?@sec-getting-started
- Reference to ?@tbl-example
Citations
If you’re using citations, add a bibliography file to your YAML header:
bibliography: references.bib
csl: your-citation-style.cslThen cite sources like this: [@author2024]
Conclusion
This template provides a solid foundation for creating JDC-branded documents in multiple formats. Customize the content, styling, and output options to meet your specific needs.
Additional Resources
This document was created using the JDC Quarto template.